package com.ergou.easylive.admin.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 权限查询DTO
 *
 * @author Er-Gou
 * @date 2025-01-27
 */
@Data
@Schema(description = "权限查询DTO")
public class SysPermissionQueryDTO {

    @Schema(description = "权限名称", example = "用户管理")
    private String permissionName;

    @Schema(description = "路由标题", example = "用户管理")
    private String routeTitle;

    @Schema(description = "父级权限ID", example = "0")
    private Integer parentId;

    @Schema(description = "权限等级(1:菜单,2:按钮,3:接口)", example = "1")
    private Integer permissionLevel;

    @Schema(description = "状态(0:停用, 1:正常)", example = "1")
    private Integer status;

    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页大小", example = "10")
    private Integer pageSize = 10;
}
